IOMMU: Fail if intremap is not available and iommu=required/force.
authorIan Campbell <ian.campbell@citrix.com>
Thu, 26 May 2011 07:18:44 +0000 (08:18 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 26 May 2011 07:18:44 +0000 (08:18 +0100)
commite2fee12d8d0528dc72b065030ae8f346cf07e3e7
tree831b553d39a4c7bf197887adec0a1b71bd652f2a
parent8b917cf2d04c187f1fbfc1363d9c962bfbd7434c
IOMMU: Fail if intremap is not available and iommu=required/force.

Rather than sprinkling panic()s throughout the setup code hoist the
check up into common code.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Keir Fraser <keir@xen.org>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/iommu.c